package ecstore.client.customWidgets;

import com.google.gwt.user.client.ui.Composite;
import com.gwtext.client.widgets.Toolbar;
import com.gwtext.client.widgets.ToolbarButton;
import com.gwtext.client.widgets.ToolbarSeparator;
import com.google.gwt.user.client.ui.HorizontalPanel;

public class BtnToolbar extends Composite {
	private HorizontalPanel horizontalPanel = new HorizontalPanel();

	public BtnToolbar() {
		
		
		
		Toolbar toolbar = new Toolbar();
		toolbar.setAutoWidth(true);
		
		ToolbarButton toolbarButton = new ToolbarButton("New ToolbarButton");
		toolbar.addButton(toolbarButton);
		
		ToolbarSeparator toolbarSeparator = new ToolbarSeparator();
		toolbar.addItem(toolbarSeparator);
		
		ToolbarButton toolbarButton_1 = new ToolbarButton("New ToolbarButton");
		toolbar.addButton(toolbarButton_1);
		
		ToolbarSeparator toolbarSeparator_1 = new ToolbarSeparator();
		toolbar.addItem(toolbarSeparator_1);
		
		ToolbarButton toolbarButton_2 = new ToolbarButton("New ToolbarButton");
		toolbar.addButton(toolbarButton_2);
		

		toolbar.setSize("244px", "24px");
		
		initWidget(horizontalPanel);
		horizontalPanel.setWidth("296px");
	}

}
